cmake_minimum_required(VERSION 3.17)
set(APP_NAME emulator_mqtt_device)
project(protolol)
set(CMAKE_C_STANDARD 99)
set(EXECUTABLE_OUTPUT_PATH ${EXEC_PATH})

find_library(PAHO_MQTT3C NAMES paho-mqtt3c PATHS /usr/local/lib)

add_executable(${APP_NAME} EmulatorMqttDevoce.c cJSON.c)

target_link_libraries(${APP_NAME} ${PAHO_MQTT3C})

